.class public Lcom/waiqin365/lightapp/im/domain/User;
.super Lcom/hyphenate/chat/EMContact;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/hyphenate/chat/EMContact;-><init>()V

    return-void
.end method


# virtual methods
.method public equals(Ljava/lang/Object;)Z
    .locals 2

    if-eqz p1, :cond_0

    instance-of v0, p1, Lcom/waiqin365/lightapp/im/domain/User;

    if-nez v0, :cond_1

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/domain/User;->getUsername()Ljava/lang/String;

    move-result-object v0

    check-cast p1, Lcom/waiqin365/lightapp/im/domain/User;

    invoke-virtual {p1}, Lcom/waiqin365/lightapp/im/domain/User;->getUsername()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    goto :goto_0
.end method

.method public hashCode()I
    .locals 1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/domain/User;->getUsername()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->hashCode()I

    move-result v0

    mul-int/lit8 v0, v0, 0x11

    return v0
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/domain/User;->nick:Ljava/lang/String;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/domain/User;->username:Ljava/lang/String;

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/domain/User;->nick:Ljava/lang/String;

    goto :goto_0
.end method
